package com.gz.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class PageData<T> {
    private long total;
    private List<T> rows;
    private String maxTime;
    public PageData(long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }
    public PageData(long total, List<T> rows, String maxTime) {
        this.total = total;
        this.rows = rows;
        this.maxTime = maxTime;
    }
}
